<template>
  <div>
   EmitPage
   <hr>
   <Emitcomponent :b="b" @changeValue="change"></Emitcomponent>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import Emitcomponent from '@/components/Emitcomponent.vue';
let a=ref(1001)
let b=ref("xdt")

function change(value){
// console.log('emit');
b.value=value
}
</script>
<style lang="scss" scoped>
</style>
